package com.jichangxiu.common.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface Repeat {

    // 防请求重复提交
    boolean enabled() default true;

    // 防请求重复提交间隔时间
    int second() default 10;

}
